Skip to contentSkip to conversation

lm_sensors reports "ERROR: Can't get value of subfeature in0_input: Can't read"

Bug 110641 [email protected] 1 participant 8 messages May 8, 2019 – Nov 19, 2019

lore
Share & tools
lore
#0 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=110641

Bug ID: 110641
Summary: lm_sensors reports "ERROR: Can't get value of
subfeature in0_input: Can't read"
Product: DRI
Version: XOrg git
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: DRM/AMDgpu
Assignee: [email protected]
Reporter: [email protected]

Alex Deucher <[email protected]> 2017-03-08 18:25:15 -0500 drm/amdgpu: expose GPU sensor related information commit 5ebbac4b5c9159130046bf7c56b7f4c71ca7d1b7

This particular commit introduced this error.

$ sensors -j

{
"amdgpu-pci-0008":{
"Adapter": "PCI adapter",
"vddgfx":{
ERROR: Can't get value of subfeature in0_input: Can't read

      },
      "vddnb":{

ERROR: Can't get value of subfeature in1_input: Can't read

      },
      "temp1":{
         "temp1_input": 12.000,
         "temp1_crit": 120.000,
         "temp1_crit_hyst": 90.000
      }
   },
   "it8603-isa-0290":{
      "Adapter": "ISA adapter",
      "CPU Fan":{
         "fan1_input": 2509.000,
         "fan1_min": 200.000,
         "fan1_alarm": 0.000
      },
      "Mobo Fan":{
         "fan2_input": 0.000,
         "fan2_min": 600.000,
         "fan2_alarm": 1.000
      },
      "AMD A6-7400K Radeon R5":{
         "temp1_input": 44.000,
         "temp1_max": 127.000,
         "temp1_min": -45.000,
         "temp1_alarm": 0.000,
         "temp1_type": 4.000,
         "temp1_offset": 0.000
      },
      "Asus A68HM-K Mobo":{
         "temp2_input": 45.000,
         "temp2_max": -33.000,
         "temp2_min": 53.000,
         "temp2_alarm": 1.000,
         "temp2_type": 4.000,
         "temp2_offset": 0.000
      }

}
}

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#1 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=110641

--- Comment #1 from Alex Deucher <[email protected]> --- That commit just exposes the temperature via an ioctl interface. It doesn't affect the hwmon sysfs API. How did you determine that that was the problematic one?

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#2 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=110641

--- Comment #2 from Bong Cosca <[email protected]> ---
It wasn't the case before when VDDGFX and VDDNB were not exposed. Are these (and the missing in0_input/in1_input probes) present on APUs?

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#3 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=110641

--- Comment #3 from Alex Deucher <[email protected]> --- What chip do you have? Voltage hwmon is not implemented on all APUs.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#5 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=110641

--- Comment #5 from Alex Deucher <[email protected]> --- (In reply to Bong Cosca from comment #4)

Quoted 1 line

AMD A6-7400K Radeon R5

No hwmon support for voltage on that family.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#6 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=110641

--- Comment #6 from Bong Cosca <[email protected]> ---
So does it make sense to expose VDDGFX and VDDNB at all? Or should this be fixed in lm_sensors?

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#7 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=110641

Martin Peres <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

         Resolution|---                         |MOVED
             Status|NEW                         |RESOLVED

--- Comment #7 from Martin Peres <[email protected]> --- -- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/drm/amd/issues/779.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel